import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {Radio,Menu,Layout,PageHeader,Card,List,Row,Col,Select,Calendar} from 'ant-design-vue'


const app= createApp(App).use(store).use(router)
app.use(Radio).use(Menu).use(Layout).use(PageHeader).use(Card).use(List).use(Row).use(Col).use(Select).use(Calendar)

app.config.globalProperties.goto = function(path:string):void{
    console.log(this.$route)
    // this.$route = path
}
app.mount('#app')
